/**
 * Copyright (c) 2020-2021 awen All rights reserved.
 *
 * https://www.awen.io
 *
 * 版权所有，侵权必究！
 */

package io.awen;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * war包
 */
//@SpringBootApplication(exclude = {
//		org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
//})
//@EnableScheduling
//public class AwenApplication extends SpringBootServletInitializer {
//
//	public static void main(String[] args) {
//		SpringApplication.run(AwenApplication.class, args);
//	}
//
//	@Override
//	protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) {
//		return applicationBuilder.sources(AwenApplication.class);
//	}
//
//}

/**
 * JAR包
 */
@SpringBootApplication
@EnableScheduling
public class AwenApplication {

	public static void main(String[] args) {
		SpringApplication.run(AwenApplication.class, args);
	}

}